From 317b951c7ba17bd8716b7954476ccd8c68010721 Mon Sep 17 00:00:00 2001 From: Keir Fraser Date: Fri, 14 Nov 2008 14:27:08 +0000 Subject: [PATCH] vt-d: Fix ia64 build. Signed-off-by: Keir Fraser --- xen/drivers/passthrough/vtd/intremap.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/xen/drivers/passthrough/vtd/intremap.c b/xen/drivers/passthrough/vtd/intremap.c index f484a59e39..ced746611e 100644 --- a/xen/drivers/passthrough/vtd/intremap.c +++ b/xen/drivers/passthrough/vtd/intremap.c @@ -30,6 +30,10 @@ #include "vtd.h" #include "extern.h" +#ifndef dest_SMI +#define dest_SMI -1 +#endif + u16 apicid_to_bdf(int apic_id) { struct acpi_drhd_unit *drhd = ioapic_to_drhd(apic_id); -- 2.30.2